From: Jasper St. Pierre Date: Sun, 25 Mar 2012 12:46:44 +0000 (-0300) Subject: st-bin: Remove unnecessary foreach implementation X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~6625 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=a9a3687ea02c7af7c208f5b06df7e86d3313cc49;p=gnome-shell.git st-bin: Remove unnecessary foreach implementation https://bugzilla.gnome.org/show_bug.cgi?id=672807 --- diff --git a/src/st/st-bin.c b/src/st/st-bin.c index aad501654..71c7c3a5c 100644 --- a/src/st/st-bin.c +++ b/src/st/st-bin.c @@ -85,23 +85,11 @@ st_bin_remove (ClutterContainer *container, st_bin_set_child (ST_BIN (container), NULL); } -static void -st_bin_foreach (ClutterContainer *container, - ClutterCallback callback, - gpointer user_data) -{ - StBinPrivate *priv = ST_BIN (container)->priv; - - if (priv->child) - callback (priv->child, user_data); -} - static void clutter_container_iface_init (ClutterContainerIface *iface) { iface->add = st_bin_add; iface->remove = st_bin_remove; - iface->foreach = st_bin_foreach; } static void